<?php

use Illuminate\Database\Seeder;
use App\Models\ContactInfo;
use App\Models\CustomerHistory;

class ContactInfoSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$history = factory(CustomerHistory::class)->create();
    	for($i = 0; $i< 5; $i ++) {
    		$history->contact()->save(factory(ContactInfo::class)->make());
    	}
        
    }
}
